package com.zaoniao.enstudy.infrastructure.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 早鸟单词例句.
 *
 * @author llb
 */
@Data
@Table(name = "z_word_example")
public class ZaoWordExamplePo {

    /**
     * 主键id.
     */
    @Id
    private Long id;

    /**
     * 例句.
     */
    private String example;

    /**
     * 例句中文翻译.
     */
    @Column(name = "example_translate")
    private String exampleTranslate;

    /**
     * 发音.(废弃).
     */
    @Column(name = "pronunciation")
    private String pronunciation;

    /**
     * 关联单词.
     */
    private String word;

    /**
     * 创建人.
     */
    @Column(name = "create_by")
    private String createBy = "admin";

    /**
     * 创建时间.
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 更新人.
     */
    @Column(name = "update_by")
    private String updateBy = "admin";

    /**
     * 更新时间.
     */
    @Column(name = "update_time")
    private Date updateTime;

}